<?php echo $this->load->view('meta');?>
<link rel="stylesheet" href="<?=base_url();?>css/static.css" />
<link rel="stylesheet" href="<?=base_url();?>css/beta.css" />
<title>xa-ncsu signup</title>
<?php echo $this->load->view('header'); ?>
<?=$this->validation->error_string;?>
<?php if (isset($loggedin)): ?>
	<h2>xa-ncsu signup</h2>
	<p>You must logout before registering for a new account.</p>
	<fieldset></fieldset>
<?php else: ?>
	<?=form_open('beta/signup');?>
	<fieldset>
		<legend><span>xa-ncsu signup</span></legend>
		<p>We're committed to providing features that enhance the way our community interacts.<br />Signup for an account now, and stay tuned as our new site is rolled out.</p>
		<ol>
			<li><label for="username">username</label>
				<input type="text" name="username" value="<?=$this->validation->username;?>" size="30" /></li>
			<li><label for="password">password</label>
				<input type="password" name="password" value="<?=$this->validation->password;?>" size="30" /></li>
			<li><label for="confirm password">confirm password</label>
				<input type="password" name="conf_password" value="<?=$this->validation->conf_password;?>" size="30" /></li>
			<li><label for="email">email</label>
				<input type="text" name="email" value="<?=$this->validation->email;?>" size="30" /></li>	
		</ol>
	</fieldset>
	<fieldset class="submit">
		<?=form_submit('','submit') ?>
	</fieldset>
	<?=form_close()?>
<?php endif; ?>
<?php echo $this->load->view('footer');?>